-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Grid.open_file
method support non xarray formats including Shapefile/Geojson
#808
Conversation
…o rajeeja/io_shapefile
…-bit systems. Using np.int32 for padding, this might fix the overflow error on windows machine: https://github.com/UXARRAY/uxarray/actions/runs/9357045842/job/25755876561\?pr\=808\#step:8:87
…o rajeeja/io_shapefile
…, this should pass for windows now as the example is much smaller
…, initial thought was to optimize, but this led to issues with cross platform handling in integer types, specially windows, hopefully this might fix it. As in previous commit, it was not an issue of large mesh size that was causing this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great addition; thanks a lot!
Maybe using online files rather than having them all hosted in the repo? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the title & linked issue to reflect the generalization changes that were made.
Do we have an issue open for this topic in general? |
…s. Also support netcdf files via the same interface with different backend
…o rajeeja/io_shapefile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments. Please update the PR title & linked issue as well.
#946 would cover this also, not a explicit issue for this. |
…o rajeeja/io_shapefile
Co-authored-by: Philip Chmielowiec <67855069+philipc2@users.noreply.github.com>
…o rajeeja/io_shapefile
Grid.open_file
method support non xarray formats including Shapefile/Geojson
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Other than the one comment, feel free to merge it once it's been resolved.
Co-authored-by: Philip Chmielowiec <67855069+philipc2@users.noreply.github.com>
aebfc26
to
610e029
Compare
Closes #635
Support Polygon and Multipolygon